module.exports = function($scope, $state, $stateParams, $modalInstance, items, $resource,$modal){

    $scope.obj = items;

    $scope.cancel = function () {
        $modalInstance.dismiss('cancel');
    };

};